package com.jellyfishumbrella.GL;

public class OctreeNode {
	public OctreeNode parent;
	public OctreeNode[][] subNode;
	
	public OctreeNode(OctreeNode parent){
		this.parent = parent;
	}
	
	public void subdivide(){
		subNode = new OctreeNode[2][2];
		subNode[0][0].parent = this;
		subNode[0][1].parent = this;
		subNode[1][0].parent = this;
		subNode[1][1].parent = this;
	}
}
